#include <iostream>
#include <bits/stdc++.h>
using namespace std;
int main() {
  char str[] = "hello";
  char* pstr = str;
  cout << "字符串->字符指针: " << pstr << endl;
  char ch = 'a';
  char* pch = &ch;
  cout << "字符地址->字符指针: " << pch << endl;

  char *p;
  cout << "字符指针的地址: " << (void*)p << endl;

  char* cstr = "123";
  cstr[0] = '0';
  cout << "并不会被改变(或程序终止): " << cstr << endl;
}